package com.ychug.service.cms.entity;
import com.ychug.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 文档属性表 cms_attribute
 * 
 * @author mcpcms
 * @date 2019-07-13
 */
public class CmsAttributeEntity extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Long attrId;
	/** 站点编码 */
	private Long siteId;
	/** 属性编码 */
	private String attrCode;
	/** 属性名称 */
	private String attrName;
	/** 图片高度 */
	private Integer imageHeight;
	/** 图片宽度 */
	private Integer imageWidth;
	/** 排序 */
	private Integer attrSeq;

	public void setAttrId(Long attrId) 
	{
		this.attrId = attrId;
	}

	public Long getAttrId() 
	{
		return attrId;
	}
	public void setSiteId(Long siteId) 
	{
		this.siteId = siteId;
	}

	public Long getSiteId() 
	{
		return siteId;
	}
	public void setAttrCode(String attrCode) 
	{
		this.attrCode = attrCode;
	}

	public String getAttrCode() 
	{
		return attrCode;
	}
	public void setAttrName(String attrName) 
	{
		this.attrName = attrName;
	}

	public String getAttrName() 
	{
		return attrName;
	}
	public void setImageHeight(Integer imageHeight) 
	{
		this.imageHeight = imageHeight;
	}

	public Integer getImageHeight() 
	{
		return imageHeight;
	}
	public void setImageWidth(Integer imageWidth) 
	{
		this.imageWidth = imageWidth;
	}

	public Integer getImageWidth() 
	{
		return imageWidth;
	}
	public void setAttrSeq(Integer attrSeq) 
	{
		this.attrSeq = attrSeq;
	}

	public Integer getAttrSeq() 
	{
		return attrSeq;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attrId", getAttrId())
            .append("siteId", getSiteId())
            .append("attrCode", getAttrCode())
            .append("attrName", getAttrName())
            .append("imageHeight", getImageHeight())
            .append("imageWidth", getImageWidth())
            .append("attrSeq", getAttrSeq())
            .toString();
    }
}
